package ui

import org.uqbar.wicket.xtend.WicketExtensionFactoryMethods
import dominio.Jugador
import org.uqbar.wicket.xtend.XButton
import applicationModel.JardinZen


class JardinZenAcuaticoPage extends JardinZenTerrestrePage{
	
	extension WicketExtensionFactoryMethods = new WicketExtensionFactoryMethods
	var JardinZenTerrestrePage jTerrestrePage

new(Jugador jugadorX, JardinTableroPage mainPageX,JardinZenTerrestrePage jTerrestrePageX ){
	super(jugadorX, mainPageX)
	jTerrestrePage = jTerrestrePageX
}
	
	override switchJardin() {
		responsePage = jTerrestrePage
	}
	
	override setearJardinZen() {
		jardinZen = jugador.getJacuatico}

}